package com.ruoyi.tea.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单信息对象 tea_order
 * 
 * @author hmx
 * @date 2023-03-18
 */
public class TeaOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long orderId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String orderCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long leafId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long orederNum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal ordderPrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date orderDate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long state;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String orderTrick;

    public int getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(int orderCount) {
        this.orderCount = orderCount;
    }

    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private int orderCount;
    public TeaUsers getTeaUsers() {
        return teaUsers;
    }

    public void setTeaUsers(TeaUsers teaUsers) {
        this.teaUsers = teaUsers;
    }

    private TeaUsers teaUsers;

    public TeaLeaf getTeaLeaf() {
        return teaLeaf;
    }

    public void setTeaLeaf(TeaLeaf teaLeaf) {
        this.teaLeaf = teaLeaf;
    }

    private TeaLeaf teaLeaf;
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderCode(String orderCode) 
    {
        this.orderCode = orderCode;
    }

    public String getOrderCode() 
    {
        return orderCode;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setLeafId(Long leafId) 
    {
        this.leafId = leafId;
    }

    public Long getLeafId() 
    {
        return leafId;
    }
    public void setOrederNum(Long orederNum) 
    {
        this.orederNum = orederNum;
    }

    public Long getOrederNum() 
    {
        return orederNum;
    }
    public void setOrdderPrice(BigDecimal ordderPrice) 
    {
        this.ordderPrice = ordderPrice;
    }

    public BigDecimal getOrdderPrice() 
    {
        return ordderPrice;
    }
    public void setOrderDate(Date orderDate) 
    {
        this.orderDate = orderDate;
    }

    public Date getOrderDate() 
    {
        return orderDate;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setOrderTrick(String orderTrick) 
    {
        this.orderTrick = orderTrick;
    }

    public String getOrderTrick() 
    {
        return orderTrick;
    }

    private int year;
    private int month;
    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }
    private Long totalct;
    private Long totalpri;

    public Long getTotalct() {
        return totalct;
    }

    public void setTotalct(Long totalct) {
        this.totalct = totalct;
    }

    public Long getTotalpri() {
        return totalpri;
    }

    public void setTotalpri(Long totalpri) {
        this.totalpri = totalpri;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("orderCode", getOrderCode())
            .append("userId", getUserId())
            .append("leafId", getLeafId())
            .append("orederNum", getOrederNum())
            .append("ordderPrice", getOrdderPrice())
            .append("orderDate", getOrderDate())
            .append("state", getState())
            .append("orderTrick", getOrderTrick())
            .append("orderCount",getOrderCount())
            .append("year",getYear())
            .append("month",getMonth())
            .append("totalct",getTotalct())
            .append("totalpri",getTotalpri())
            .append("teaUsers",getTeaUsers())
            .append("teaLeaf",getTeaLeaf())
            .toString();
    }
}
